﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/12/27 19:41:40
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ComicIsland.Common.Cache
{
    public class CacheHelper
    {
        public static ICache ChapterCache;
        public static ICache CoverCache;
        public static ICache ImageCache;
        public static ICache PageCache;
        public static ICache ComicCache;
        public static ICache ImagelocalCache;
        public static ICache ChapterlocalCache;
        public static ICache ComiclocalCache;
        public static ICache EmcotionCache;
        static CacheHelper()
        {
            CacheHelper.CoverCache = new FileCache("cover", 100);
            CacheHelper.ImageCache = new FileCache("iamge", 100);
            //CacheHelper.ChapterCache = new ChapterCache();
            //CacheHelper.PageCache = new PageCache();
            //CacheHelper.ComicCache = new ComicCache();
            CacheHelper.ImagelocalCache = new FileCache("localimage", 5000);
            //CacheHelper.ChapterlocalCache = new ChapterCache("localchapter");
            //CacheHelper.ComiclocalCache = new ComicCache("localcomic");
            //CacheHelper.EmcotionCache = new ComicCache("Emcotion");
        }
    }
}
